![]() |
ProcessIsContextualMenuClient |
||||
Header: | Menus.h | Carbon status: | Supported | |
Determines whether a given program is a contextual menu client.
Boolean ProcessIsContextualMenuClient ( ProcessSerialNumber *inPSN );
A pointer to the ID of the process containing the program.
true if the program in the process uses contextual menus; otherwise, false.
The ProcessIsContextualMenuClient function checks the system registry of contextual menu clients and returns true if the program in the given process supports contextual menus. However, the program must have been registered as a client using InitContextualMenus.
See also
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in CarbonLib 1.0 and later when ContextualMenu 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by ContextualMenu 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)